<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib uri="/struts-tags" prefix="s"%>
	<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>


<link href="<%=request.getContextPath()%>/css/empresa-theme/jquery-ui-1.9.2.custom.css" rel="stylesheet" />
<link href="<%=request.getContextPath()%>/css/jquery.dataTables_themeroller.css" rel="stylesheet" />

<script src="<%=request.getContextPath()%>/js/jquery-1.8.3.js"></script>
<script src="<%=request.getContextPath()%>/js/jquery-ui-1.9.2.custom.js"></script>
<script src="<%=request.getContextPath()%>/js/jquery.dataTables.js"></script>


<style>
body {
	font: 62.5% "Trebuchet MS", sans-serif;
	margin: 50px;
}
</style>

<script>

	$(function() {
			
		$( ".button" ).button();
		
	});
	</script>

<!-- Highlight / Error -->
<h2 class="demoHeaders">Resultado de operacion</h2>

<s:set name="rs" value="estadoOperacion"/>

<s:if test="%{#rs.estadoOperacion=='success'}">    
    
    <div class="ui-widget">
		<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
			<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
			<strong>Hey!</strong> <s:property value="estadoOperacion.mensajeEstado"/></p>
		</div>
	</div>

</s:if>
<s:else>
<div class="ui-widget">
	<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
		<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
		<strong>Alerta:</strong> <s:property value="estadoOperacion.mensajeEstado"/></p>
	</div>
</div>
</s:else>
<br/>
<input type="button" value="Regresar" class="button" onclick="javascript:history.back()" />

